package com.mi.entity;

import java.io.Serializable;

//合作伙伴
public class PartnerEntity implements Serializable {
    private int partnerId;
    private String partnerImage;
    private String partnerName;
    private String partnerWebsite;
    private int status;
    private int pageNum = 1;
    private int pageSize = 6;

    public PartnerEntity(int partnerId, String partnerImage, String partnerName, String partnerWebsite, int pageNum, int pageSize) {
        this.partnerId = partnerId;
        this.partnerImage = partnerImage;
        this.partnerName = partnerName;
        this.partnerWebsite = partnerWebsite;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }

    public String getPartnerWebsite() {
        return partnerWebsite;
    }

    public void setPartnerWebsite(String partnerWebsite) {
        this.partnerWebsite = partnerWebsite;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public PartnerEntity() {

    }

    public PartnerEntity(int partnerId, String partnerImage, String partnerName) {
        this.partnerId = partnerId;
        this.partnerImage = partnerImage;
        this.partnerName = partnerName;
    }

    public int getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(int partnerId) {
        this.partnerId = partnerId;
    }

    public String getPartnerImage() {
        return partnerImage;
    }

    public void setPartnerImage(String partnerImage) {
        this.partnerImage = partnerImage;
    }

    public String getPartnerName() {
        return partnerName;
    }

    public void setPartnerName(String partnerName) {
        this.partnerName = partnerName;
    }

    @Override
    public String toString() {
        return "PartnerEntity{" +
                "partnerId=" + partnerId +
                ", partnerImage='" + partnerImage + '\'' +
                ", partnerName='" + partnerName + '\'' +
                ", partnerWebsite='" + partnerWebsite + '\'' +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                '}';
    }
}
